﻿/**
 * @namespace
 */

var gisapi={
	DMap_activateMeaturePolyline_text :DMap.i18n("DMap_activateMeaturePolyline_text"),
	DMap_activateMeaturePolyline_text_km : DMap.i18n("DMap_activateMeaturePolyline_text_km"),
	DMap_activateMeatureArea_text:DMap.i18n("DMap_activateMeatureArea_text"),
	DMap_activateRecZoomIn_tooltip : {start : DMap.i18n("RecZoomIn_start"),end :DMap.i18n("RecZoomIn_end")},
	DMap_activateRecZoomOut_tooltip : {start : DMap.i18n("RecZoomOut_start"),end : DMap.i18n("RecZoomOut_end")},
	DMap_activateMeaturePolyline_tooltip : {start :DMap.i18n("MeaturePolyline_start"),move :DMap.i18n("MeaturePolyline_move"),end : DMap.i18n("MeaturePolyline_end")},

	ToolBarHelper_drawPoint_tooltip: {start : DMap.i18n("drawPoint_start"),move : "",end : ""},
	ToolBarHelper_drawLine_tooltip: {start : DMap.i18n("drawLine_start"),move : "",end :DMap.i18n("drawLine_end")},
	ToolBarHelper_drawPolyline_tooltip: {start :DMap.i18n("drawPolyline_start"),move :DMap.i18n("drawPolyline_move"),end:DMap.i18n("drawPolyline_end")},
	ToolBarHelper_drawPolygon_tooltip: {start : DMap.i18n("drawPolygon_start"),move : DMap.i18n("drawPolygon_move"),end :DMap.i18n("drawPolygon_end")},
	ToolBarHelper_drawAction_tooltip: {start :DMap.i18n("drawAction_start"),move : DMap.i18n("drawAction_move"),end : DMap.i18n("drawAction_end")},
	ToolBarHelper_drawRec_tooltip: {start : DMap.i18n("drawRec_start"),move:DMap.i18n("drawRec_end"),end :DMap.i18n("drawRec_end")},
	ToolBarHelper_drawRound_tooltip: {start :DMap.i18n("drawRound_start"),move : DMap.i18n("drawRound_end"),end : DMap.i18n("drawRound_end")},
	ToolBarHelper_drawCurveLine_tooltip: {start :DMap.i18n("drawCurveLine_start"),move : DMap.i18n("drawCurveLine_move"),end : DMap.i18n("drawCurveLine_end")},
	ToolBarHelper_drawEllipse_tooltip: {start : DMap.i18n("drawEllipse_start"),move : DMap.i18n("drawEllipse_end"),end :DMap.i18n("drawEllipse_end")},
	ToolBarHelper_drawTriangle_tooltip:{start :DMap.i18n("drawTriangle_start"),move :DMap.i18n("drawTriangle_move"),end : DMap.i18n("drawTriangle_end")},
	ToolBarHelper_drawSector_tooltip:{start : DMap.i18n("drawSector_start"),move :DMap.i18n("drawSector_move"),end :DMap.i18n("drawSector_end")},
    ToolBarHelper_drawRoundRect_tooltip:{start :DMap.i18n("drawRoundRect_start"),move :DMap.i18n("drawRoundRect_move"),end : DMap.i18n("drawRoundRect_end")},

	MousePositionControl_lon :DMap.i18n("MousePositionControl_lon"),
	MousePositionControl_lat : DMap.i18n("MousePositionControl_lat"),
	MousePositionControl_zoom : DMap.i18n("MousePositionControl_zoom"),

	ZoomBarControl_topTitle : DMap.i18n("ZoomBarControl_topTitle"),
	ZoomBarControl_leftTitle : DMap.i18n("ZoomBarControl_leftTitle"),
	ZoomBarControl_rightTitle :DMap.i18n("ZoomBarControl_rightTitle"),
	ZoomBarControl_downTitle : DMap.i18n("ZoomBarControl_downTitle"),
	ZoomBarControl_resultTitle : DMap.i18n("ZoomBarControl_resultTitle"),
	ZoomBarControl_zoominTitle :  DMap.i18n("ZoomBarControl_zoominTitle"),
	ZoomBarControl_zoomoutTitle : DMap.i18n("ZoomBarControl_zoomoutTitle"),
	ZoomBarControl_dragTitle :  DMap.i18n("ZoomBarControl_dragTitle"),
	LayerControl_text :DMap.i18n("LayerControl_text"),
	common_move:DMap.i18n("common_move"),
	common_fullmap:DMap.i18n("common_fullmap"),
	common_print:DMap.i18n("common_print"),
	common_distance:DMap.i18n("common_distance"),
	common_area:DMap.i18n("common_area"),
	point_query:DMap.i18n("point_query"),
	polyline_query:DMap.i18n("polyline_query"),
	polygon_query:DMap.i18n("polygon_query"),
	rectangle_query:DMap.i18n("rectangle_query"),
	round_query:DMap.i18n("round_query"),
	large_print:DMap.i18n("large_print"),
	clear:DMap.i18n("clear"),
	title_text:DMap.i18n("title_text"),
	//增加错误参数对应关系
	isNullError:DMap.i18n("isNullError"),
	isCommonError:DMap.i18n("isCommonError"),
	isNumberError:DMap.i18n("isNumberError"),
	isUndefinedError:DMap.i18n("isUndefinedError"),
	isObjectError:DMap.i18n("isObjectError"),
	isFunctionError:DMap.i18n("isFunctionError"),
	isBooleanError:DMap.i18n("isBooleanError"),
	isStringError:DMap.i18n("isStringError"),
	contenError:DMap.i18n("contenError"),
	lonlatError:DMap.i18n("lonlatError"),
	lonlatArrayError:DMap.i18n("lonlatArrayError"),
	polylineError:DMap.i18n("polylineError"),
	setlonlatsError:DMap.i18n("setlonlatsError"),
	insertVertexError:DMap.i18n("insertVertexError"),
	polylineVertexError:DMap.i18n("polylineVertexError"),
	mapUrlError:DMap.i18n("mapUrlError"),
	actionArrowError:DMap.i18n("actionArrowError"),
	themeLayerError:DMap.i18n("themeLayerError"),
	tileLayerError:DMap.i18n("tileLayerError"),
	pictureOverlayError:DMap.i18n("pictureOverlayError"),
	validateNumber:DMap.i18n("validateNumber"),
	themeServerError:DMap.i18n("themeServerError"),
	themeParamentersError:DMap.i18n("themeParamentersError"),
	printMessage:DMap.i18n("printMessage"),
	waitMessage:DMap.i18n("waitMessage"),
	trraficUpdateTime:DMap.i18n("trraficUpdateTime"),
	trraficUpdate:DMap.i18n("trraficUpdate"),
	trraficRealTime:DMap.i18n("trraficRealTime"),
	trraficLiuLiang:DMap.i18n("trraficLiuLiang"),
	trraficWeek:DMap.i18n("trraficWeek"),
	trraficMonday:DMap.i18n("trraficMonday"),
	trraficTuesday:DMap.i18n("trraficTuesday"),
	trraficWednesday:DMap.i18n("trraficWednesday"),
	trraficThursday:DMap.i18n("trraficThursday"),
	trraficFriday:DMap.i18n("trraficFriday"),
	trraficSaturday:DMap.i18n("trraficSaturday"),
	trraficSunday:DMap.i18n("trraficSunday"),
	trraficTime:DMap.i18n("trraficTime"),
	trraficMessage:DMap.i18n("trraficMessage"),
	PlanInfoWindow_putFontText_button :DMap.i18n("PlanInfoWindow_putFontText_button"),
	PlanInfoWindow_putFontText_wznr : DMap.i18n("PlanInfoWindow_putFontText_wznr"),
	PlanInfoWindow_putFontText_wzdx : DMap.i18n("PlanInfoWindow_putFontText_wzdx"),
	PlanInfoWindow_putPolyLineText_xtys :DMap.i18n("PlanInfoWindow_putPolyLineText_xtys"),
	PlanInfoWindow_putPolyLineText_xtkd :DMap.i18n("PlanInfoWindow_putPolyLineText_xtkd"),
	PlanInfoWindow_putPolyLineText_tmd : DMap.i18n("PlanInfoWindow_putPolyLineText_tmd"),
	PlanInfoWindow_putPolyLineText_qsjt :DMap.i18n("PlanInfoWindow_putPolyLineText_qsjt"),
	PlanInfoWindow_putPolyLineText_zdjt :DMap.i18n("PlanInfoWindow_putPolyLineText_zdjt"),
	PlanInfoWindow_putPolyLineText_xdys :DMap.i18n("PlanInfoWindow_putPolyLineText_xdys"),
	PlanInfoWindow_putPolygonText_bxyangs :DMap.i18n("PlanInfoWindow_putPolygonText_bxyangs"),
	PlanInfoWindow_putPolygonText_bxys :DMap.i18n("PlanInfoWindow_putPolygonText_bxys"),
	PlanInfoWindow_putPolygonText_bxkd :DMap.i18n("PlanInfoWindow_putPolygonText_bxkd"),
	PlanInfoWindow_putPolygonText_bxtmd:DMap.i18n("PlanInfoWindow_putPolygonText_bxtmd"),
	PlanInfoWindow_putPolygonText_tcys :DMap.i18n("PlanInfoWindow_putPolygonText_tcys"),
	PlanInfoWindow_putPolygonText_gdys : DMap.i18n("PlanInfoWindow_putPolygonText_gdys"),
	PlanInfoWindow_putPolygonText_tmd :  DMap.i18n("PlanInfoWindow_putPolygonText_tmd"),
	PlanInfoWindow_setDestribute_text: DMap.i18n("PlanInfoWindow_setDestribute_text"),
	PlanInfoWindow_setTitle_text :DMap.i18n("PlanInfoWindow_setTitle_text"),
	PlanInfoWindow_setCommonEnd_delete :DMap.i18n("PlanInfoWindow_setCommonEnd_delete"),
	PlanInfoWindow_setCommonEnd_ok :DMap.i18n("PlanInfoWindow_setCommonEnd_ok"),
	PlanInfoWindow_setCommonEnd_cancel :DMap.i18n("PlanInfoWindow_setCommonEnd_cancel"),
	PlanInfoWindow_setNext_text :DMap.i18n("PlanInfoWindow_setNext_text"),
    PlanInfoWindow_symbolName :DMap.i18n("PlanInfoWindow_symbolName"),
    PlanInfoWindow_symbolDescription :DMap.i18n("PlanInfoWindow_symbolDescription"),
    PlanInfoWindow_saveSymbol :DMap.i18n("PlanInfoWindow_saveSymbol"),
    PlanInfoWindow_fontColor :DMap.i18n("PlanInfoWindow_fontColor"),
    PlanInfoWindow_textBackgroundColor:DMap.i18n("PlanInfoWindow_textBackgroundColor"),
    PlanInfoWindow_textBorderColor:DMap.i18n("PlanInfoWindow_textBorderColor"),
    PlanInfoWindow_ploygonFillType:DMap.i18n("PlanInfoWindow_ploygonFillType"),
    PlanInfoWindow_ploylineFillType:DMap.i18n("PlanInfoWindow_ploylineFillType"),
    PlanInfoWindow_titleIsNotNull:DMap.i18n("PlanInfoWindow_titleIsNotNull"),
    PlanInfoWindow_saveSymbolSuccess:DMap.i18n("PlanInfoWindow_saveSymbolSuccess"),
    PlanInfoWindow_validate:DMap.i18n("PlanInfoWindow_validate"),
	PlanInfoWindow_error :DMap.i18n("PlanInfoWindow_error"),

	PlanInfoWindow_putPointText_type : DMap.i18n("PlanInfoWindow_putPointText_type"),
	PlanInfoWindow_putPointText_type_pic : DMap.i18n("PlanInfoWindow_putPointText_type_pic"),
	PlanInfoWindow_putPointText_type_rec : DMap.i18n("PlanInfoWindow_putPointText_type_rec"),
	PlanInfoWindow_putPointText_height :  DMap.i18n("PlanInfoWindow_putPointText_height"),
	PlanInfoWindow_putPointText_width :  DMap.i18n("PlanInfoWindow_putPointText_width"),
	PlanInfoWindow_putPointText_offset :  DMap.i18n("PlanInfoWindow_putPointText_offset"),
    PlanInfoWindow_font: DMap.i18n("PlanInfoWindow_font"),
    PlanInfoWindow_ployline: DMap.i18n("PlanInfoWindow_ployline"),
    PlanInfoWindow_curveLine: DMap.i18n("PlanInfoWindow_curveLine"),
    PlanInfoWindow_triangle: DMap.i18n("PlanInfoWindow_triangle"),
    PlanInfoWindow_sector: DMap.i18n("PlanInfoWindow_sector"),
    PlanInfoWindow_ellipse: DMap.i18n("PlanInfoWindow_ellipse"),
    PlanInfoWindow_roundRect: DMap.i18n("PlanInfoWindow_roundRect"),
    PlanInfoWindow_ploygon: DMap.i18n("PlanInfoWindow_ploygon"),
    PlanInfoWindow_round: DMap.i18n("PlanInfoWindow_round"),
    PlanInfoWindow_rect:DMap.i18n("PlanInfoWindow_rect:DMap"),
    PlanInfoWindow_singelArrow:DMap.i18n("PlanInfoWindow_singelArrow"),
    PlanInfoWindow_doubleArrow:DMap.i18n("PlanInfoWindow_doubleArrow"),
    PlanInfoWindow_warnLine:DMap.i18n("PlanInfoWindow_warnLine"),
    PlanInfoWindow_areaControlLine:DMap.i18n("PlanInfoWindow_areaControlLine"),
    PlanInfoWindow_controlLine:DMap.i18n("PlanInfoWindow_controlLine"),
    PlanInfoWindow_basicGraphical:DMap.i18n("PlanInfoWindow_basicGraphical"),
    PlanInfoWindow_imageSymbols:DMap.i18n("PlanInfoWindow_imageSymbols"),
    PlanInfoWindow_complexSymbols :DMap.i18n("PlanInfoWindow_complexSymbols"),
    PlanInfoWindow_digitalGraphics:DMap.i18n("PlanInfoWindow_digitalGraphics"),
    PlanInfoWindow_tacticalSymbols:DMap.i18n("PlanInfoWindow_tacticalSymbols"),
    PlanInfoWindow_error:DMap.i18n("PlanInfoWindow_error"),
    PlanInfoWindow_pictureSupport:DMap.i18n("PlanInfoWindow_pictureSupport"),
    PlanInfoWindow_uploadSuccess:DMap.i18n("PlanInfoWindow_uploadSuccess"),
    PlanInfoWindow_uploadFail:DMap.i18n("PlanInfoWindow_uploadFail"),
    PlanInfoWindow_titleText:DMap.i18n("PlanInfoWindow_titleText"),
    PlanInfoWindow_is:DMap.i18n("PlanInfoWindow_is"),
    PlanInfoWindow_no:DMap.i18n("PlanInfoWindow_no"),
    PlanInfoWindow_alowUploadType:DMap.i18n("PlanInfoWindow_alowUploadType"),
    PlanInfoWindow_upload:DMap.i18n("PlanInfoWindow_upload"),
    ToolBarHelper_alowTreePoint:DMap.i18n("ToolBarHelper_alowTreePoint"),
	_mapHost : m_mapgis,
	/**
	 * 获取图片资源的路径, 可以把图片放入lib/images文件夹下, 使用此方法可以取得图片的绝对路径
	 * @param {String} imgName 图片的文件名
	 * @example
	 * gisapi.getImageUrl("marker.gif");
	 */
	getImageUrl : function(imgName){
	//	alert(gisapi._mapHost+'lib/images/'+imgName);
		return gisapi._mapHost+'/lib/images/'+imgName;
	},
	getMarkerImageUrl : function(imgName){
		return gisapi._mapHost+'/lib/images/'+imgName;
	},
	getCursorsUrl:function(cursors){
	  return gisapi._mapHost+'/lib/cursors/'+cursors;
	}
	
};	

